<?php
$str = "I LOVE YOU,MY COUNTRY";
$str1 = substr( $str, 2, 4 );
$str2 = substr( $str, 11, 2 );
$str3 = substr( $str, 14 );
/*echo $str1."<br>",$str2."<br>",$str3;*/

//产生验证码:
$rand = "asfzwajiogjoenQWROQWE1234567890";
$rand = substr( str_shuffle( $rand ), 0, 4 );
echo "刷新验证码: " . $rand;